package com.fgr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaokai
 * @since 2023-05-09
 */
@TableName("an_help")
public class Help implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 求助表主键
     */
    @TableId(value = "h_id", type = IdType.AUTO)
    private Long hId;

    /**
     * 用户id
     */
    private Long hUid;

    /**
     * 求助时间
     */
    private LocalDateTime hTime;

    /**
     * 求助位置
     */
    private String hLocation;

    /**
     * 求助信息描述
     */
    private String hFormation;

    /**
     * 逻辑删除字段
     */
    private Boolean isDel;

    public Long gethId() {
        return hId;
    }

    public void sethId(Long hId) {
        this.hId = hId;
    }

    public Long gethUid() {
        return hUid;
    }

    public void sethUid(Long hUid) {
        this.hUid = hUid;
    }

    public LocalDateTime gethTime() {
        return hTime;
    }

    public void sethTime(LocalDateTime hTime) {
        this.hTime = hTime;
    }

    public String gethLocation() {
        return hLocation;
    }

    public void sethLocation(String hLocation) {
        this.hLocation = hLocation;
    }

    public String gethFormation() {
        return hFormation;
    }

    public void sethFormation(String hFormation) {
        this.hFormation = hFormation;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "Help{" +
        "hId = " + hId +
        ", hUid = " + hUid +
        ", hTime = " + hTime +
        ", hLocation = " + hLocation +
        ", hFormation = " + hFormation +
        ", isDel = " + isDel +
        "}";
    }
}
